package org.nokatag.dbgrid;

public class NDBGridDataCellParItem {
	private Integer type=null;//字段类型
	private Object value=null;//参数
	private Integer index=null;//序号
	private String cellname=null;//列名
	
	public NDBGridDataCellParItem(Integer type,String cellname){
		setCellParItem(type,null,null,cellname);
	}
	
	public NDBGridDataCellParItem(Integer type,Object value,Integer index){
		setCellParItem(type,value,index,null);
	}
	
	public NDBGridDataCellParItem(Integer type,Object value,Integer index,String cellname){
		setCellParItem(type,value,index,cellname);
	}
	
	private void setCellParItem(Integer type,Object value,Integer index,String cellname){
		this.type = type;
		this.value = value;
		this.index=index;
		this.cellname=cellname;
	}
	
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Object getValue() {
		return value;
	}
	public void setValue(Object value) {
		this.value = value;
	}
	
	public Integer getIndex() {
		return index;
	}
	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getCellname() {
		return cellname;
	}

	public void setCellname(String cellname) {
		this.cellname = cellname;
	}
	

}
